package com.jh.tools.common;

import android.widget.ImageView;

import com.nostra13.universalimageloader.core.ImageLoader;

/**
 * Created by niejiahuan on 16/6/22.
 *   图片加载
 */
public class ImagUtil {
    private static ImagUtil mImagUtil;
    public static ImagUtil getInstance(){
        return mImagUtil==null?mImagUtil=new ImagUtil():mImagUtil;
    }
    public void getImageLoader(String url, ImageView imageView){
        ImageLoader.getInstance().displayImage(url,imageView);
    }
}
